<%@ page session="false" pageEncoding="utf-8" contentType="text/html;charset=utf-8"  %>

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%>

<f:view>
<trh:html>
<trh:head title="#{SessionDataTO.pageTitle} - Rejestrator StudioGrafic">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="shortcut icon" href="gfx/studiografic.ico" type="image/ico"/>
        <link href="style/style.css" rel="stylesheet" type="text/css" media="screen" />
        <script language="JavaScript" type="text/javascript" src="js/main.js"></script>  
</trh:head>
<trh:body inlineStyle="background-color:#fff;">
			<div style="position:fixed;top:30px;right:20px">
            <tr:statusIndicator>
				<f:facet name="ready">
					<tr:outputFormatted value="&nbsp;" />
				</f:facet>
				<f:facet name="busy">
					<tr:outputFormatted value="Trwa przetwarzanie... Proszę czekać!" inlineStyle="padding:20px;color:white;background-color: gray" />
				</f:facet>
			</tr:statusIndicator>
			</div>
            <tr:form id="mainForm" usesUpload="true" autoComplete="false" defaultCommand="searchButton">
                <jsp:include page="/top_menu.jsp" flush="false" />
                <tr:messages id="message" inlineStyle="width:80%;margin-left:20px" globalOnly="true"/>
                <jsp:include page="/${SessionDataTO.pageToDisplay}.jsp" />
            </tr:form>
    </trh:body>
</trh:html>
</f:view>


